package com.czh.springboot04.mapper;

import com.czh.springboot04.entity.Article;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {

    int insertArticle(Article article);

    int deleteArticle(int id);

    int deleteArticles(int[] ids);

    int updateA(Article article);

    Article findById(int id);
    List<Article> selectAll(Article article);
}
